package com.uyaer.duobao163.vo;

import java.util.ArrayList;
import java.util.List;

import com.uyaer.duobao163.vo.remote.BagPackVo;
import com.uyaer.duobao163.vo.remote.BagVo;

public class RelicBagManager {

	public List<RelicItemVo> allItem;
	private static RelicBagManager instance = new RelicBagManager();

	public static RelicBagManager getInstance() {
		return instance;
	}
	
	public void initData(){
		BagPackVo[] bag = BagVo.getInstance().backPackVos_0;
		allItem = new ArrayList<RelicItemVo>();
		for (int i = 0; i < bag.length; i++) {
			RelicItemVo vo = new RelicItemVo();
			vo.setData(bag[i]);
			allItem.add(vo);
			
		}
	}
}
